package com.school.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.school.dao.HljtOndutyDao;
import com.school.entity.HljtOnduty;
import com.school.service.HljtOndutyService;
@Service
public class HljtOndutyServiceImpl implements HljtOndutyService {
	
	@Autowired
	private HljtOndutyDao hljtOndutyDao;
	

	@Override
	public List<HljtOnduty> findOnduty(Integer classid, Integer typeid) {
			return hljtOndutyDao.findOnduty(classid, typeid);
	}


	@Override
	public List<HljtOnduty> findOndutyclassid(Integer classid, Integer typeid, String week) {
			return hljtOndutyDao.findOndutyclassid(classid, typeid, week);
	}

}
